package com.ruoyi.merchant.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.util.List;

/**
 * 设备类别对象 t_device_category
 * 
 * @author chengxin.ju
 * @date 2023-12-12
 */
public class DeviceCategory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 类别名称 */
    @Excel(name = "类别名称")
    private String name;

    /** 0 未删除 1 已删除 */
    @Excel(name = "0 未删除 1 已删除")
    private String del;

    private List<DeviceModel> deviceModelList;


    public void setDeviceModelList(List<DeviceModel> deviceModelList) {
        this.deviceModelList = deviceModelList;
    }

    public List<DeviceModel> getDeviceModelList() {
        return deviceModelList;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setDel(String del) 
    {
        this.del = del;
    }

    public String getDel() 
    {
        return del;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("del", getDel())
            .toString();
    }
}
